package com.jacoco.demo.controller;

import org.slf4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sunchuanfu
 */
@RestController
public class MockController {
    private final static Logger logger = org.slf4j.LoggerFactory.getLogger(MockController.class);

    @RequestMapping("/test-jacoco")
    public String testJacoco(String message) {
        logger.info("message:{}", message);
        return message;
    }

}
